package com.lifesting.sample.teneo_hybrid;

import java.io.InputStream;

import org.eclipse.emf.teneo.hibernate.HbSessionDataStore;
//need hibernate related libraries
public class HybridHbSessionDataStore extends HbSessionDataStore {

	private static final long serialVersionUID = 1480436239380878349L;

	@Override
	protected void mapModel() {
		super.mapModel();
		System.out.println(getMappingXML());
		InputStream person_hbm = getClass().getResourceAsStream("Person.hbm.xml");
		getConfiguration().addInputStream(person_hbm);
	}
}
